//
//  SplashAdModel.m
//  SharkEBook
//
//  Created by fxkj on 2021/1/7.
//

#import "SplashAdModel.h"

@implementation SplashAdModel
- (instancetype)initWithCoder:(NSCoder*)aDecoder
{
    if(self= [super init]) {
        
       
        self.imgurl = [aDecoder decodeObjectForKey:@"imgurl"];
        self.id = [aDecoder decodeObjectForKey:@"id"];
        self.imgData = [aDecoder decodeObjectForKey:@"imgData"];
    }
    
    return  self;
    
}

- (void)encodeWithCoder:(NSCoder*)aCoder

{
  
    [aCoder encodeObject:self.imgurl forKey:@"imgurl"];
    [aCoder encodeObject:self.id forKey:@"id"];
    [aCoder encodeObject:self.imgData forKey:@"imgData"];
    
}

@end
